﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mongaba.Core.Exceptions
{
    [Serializable]
    internal class ProcessAlreadyExistsException : Exception
    {
        string message;

        public override string Message
        {
            get
            {
                return message;
            }
        }
        public ProcessAlreadyExistsException() : base()
        {
            this.message = "O Processo já existe na lista de processos do coordenador.";
        }

        public ProcessAlreadyExistsException(string message)
            : base(message)
        { 
            
        }
    }
}
